home *** CD-ROM | disk | FTP | other *** search
/ Stuart Little 2 Press Kit / Stuart Little 2 Press Kit.iso / pc / SL2.dxr / Internal_10_QT_MUI.ls < prev    next >
Encoding:
Text File  |  2002-06-24  |  945 b   |  31 lines

  1. on qtInstall me
  2.   zel = the moviePath & "QT\QT_Installer"
  3.   zed = the moviePath & "QT:QT_InstallMac"
  4.   if the platform contains "Mac" then
  5.     quick = baOpenFile(zed & ":QuicktimeInstaller", "normal")
  6.     quit()
  7.   else
  8.     quick = baOpenFile(zel & "\QuicktimeInstaller.exe", "Normal")
  9.     quit()
  10.   end if
  11. end
  12.  
  13. on enterFrame
  14.   muiobject = new(xtra("MUI"))
  15.   beep()
  16.   alertpropertieslist = [#Buttons: #YesNo, #default: 1, #title: "QuickTime Update", #message: "Your version of QuickTime needs to be upgraded to QuickTime 5.0 in order for the included files to play properly. Please choose 'Recommended' on the QuickTime Installer. This program will need to be restarted after installation.", #movable: 1, #xPosition: -1, #yPosition: -1, #Icon: #question]
  17.   answer = alert(muiobject, alertpropertieslist)
  18.   muiobject = 0
  19.   case answer of
  20.     1:
  21.       qtInstall()
  22.     2:
  23.       go("Star")
  24.   end case
  25.   quick = 0
  26. end
  27.  
  28. on exitFrame
  29.   go(the frame)
  30. end
  31.